package rsj.api.contract.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import common.entity.PageInfo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 合同查询参数
 *
 * @author yuanqinglong
 * @since 2021/7/19 18:20
 */
@Data
public class ContractParam {

    /**
     * 机构id
     */
    @NotBlank(message = "机构id不可为空")
    private String orgId;

    @JSONField(name = "_page_")
    @NotNull(message = "分页信息不可为空")
    private PageInfo pageInfo;
}
